/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package POJO;





/**
 *
 * @author MinhHieu
 */
public class HocSinhPOJO {
    private String MaHS;
    private String TenHS;
    private String GioiTinh;
    
    private String NgaySinh;
    private String DiaChi;
    private String Email;


    public String getDiaChi() {
        return DiaChi;
    }

    public void setDiaChi(String DiaChi) {
        this.DiaChi = DiaChi;
    }
    
    public String getEmail() {
        return Email;
    }

    public void setEmail(String Email) {
        this.Email = Email;
    }

    public String getGioiTinh() {
        return GioiTinh;
    }

    public void setGioiTinh(String GioiTinh) {
        this.GioiTinh = GioiTinh;
    }

    public String getMaHS() {
        return MaHS;
    }

    public void setMaHS(String MaHS) {
        this.MaHS = MaHS;
    }

    public String getNgaySinh() {
        return NgaySinh;
    }

    public void setNgaySinh(String NgaySinh) {
        this.NgaySinh = NgaySinh;
    }

    public String getTenHS() {
        return TenHS;
    }

    public void setTenHS(String TenHS) {
        this.TenHS = TenHS;
    }

    public HocSinhPOJO(String MaHS, String TenHS, String GioiTinh, String NgaySinh, String DiaChi, String Email) {
        this.MaHS = MaHS;
        this.TenHS = TenHS;
        this.GioiTinh = GioiTinh;
        this.NgaySinh = NgaySinh;
        this.DiaChi = DiaChi;
        this.Email = Email;
        
    }

    //cac property
    
    //. cac phuongthuc khoi tao
    
     public HocSinhPOJO(){
        this.MaHS = "";
        this.TenHS = "";
        this.GioiTinh = "";
        this.NgaySinh = "";
        this.DiaChi = "";
        this.Email = "";
       
    }
      public HocSinhPOJO(HocSinhPOJO f){
        this.MaHS = f.MaHS;
        this.TenHS = f.TenHS;
        this.GioiTinh = f.GioiTinh;
        this.NgaySinh = f.NgaySinh;
        this.DiaChi = f.DiaChi;
        this.Email = f.Email;
    
    }
      // phuongthuc nghuep vu
    @Override
    public String toString(){
        return this.TenHS;
    }
    




}
